package com.gmcf.crypto.conf;

import lombok.Getter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * @author zhangfuqiang3@gome.com.cn
 * @version 1.0
 * @date 2023/12/28
 * @description: 配置文件读取 如配置的私钥和国美的公钥，方便修改
 **/
@Component
@Getter
public class ReadPrivateAndPubKeyFromProperties {
    // myPrivateKey 代表流量方自己生成的 key
    @Value("${myPrivateKey:}")
    private String myPrivateKey;
    // gomePublicKey 国美给流量方的公钥
    @Value("${gomePublicKey:}")
    private String gomePublicKey;

    // 回调国美接口地址
    @Value("${urlOne:}")
    private String urlOne;


}
